; RUN: llvm-rc -no-preprocess /FO %t -- %p/Inputs/versioninfo-padding.rc
; RUN: llvm-readobj %t | FileCheck %s

; CHECK:      Resource type (int): VERSIONINFO (ID 16)
; CHECK-NEXT: Resource name (int): 1
; CHECK-NEXT: Data version: 0
; CHECK-NEXT: Memory flags: 0x30
; CHECK-NEXT: Language ID: 1033
; CHECK-NEXT: Version (major): 0
; CHECK-NEXT: Version (minor): 0
; CHECK-NEXT: Characteristics: 0
; CHECK-NEXT: Data size: 294
; CHECK-NEXT: Data: (
; CHECK-NEXT:   0000: 26013400 00005600 53005F00 56004500  |&.4...V.S._.V.E.|
; CHECK-NEXT:   0010: 52005300 49004F00 4E005F00 49004E00  |R.S.I.O.N._.I.N.|
; CHECK-NEXT:   0020: 46004F00 00000000 BD04EFFE 00000100  |F.O.............|
; CHECK-NEXT:   0030: 00000400 00000000 00000400 00000000  |................|
; CHECK-NEXT:   0040: 00000000 00000000 04000000 02000000  |................|
; CHECK-NEXT:   0050: 00000000 00000000 00000000 4E000000  |............N...|
; CHECK-NEXT:   0060: 01005300 74007200 69006E00 67004600  |..S.t.r.i.n.g.F.|
; CHECK-NEXT:   0070: 69006C00 65004900 6E006600 6F000000  |i.l.e.I.n.f.o...|
; CHECK-NEXT:   0080: 2A000000 01003000 34003000 39003000  |*.....0.4.0.9.0.|
; CHECK-NEXT:   0090: 34004500 34000000 12000300 01006100  |4.E.4.........a.|
; CHECK-NEXT:   00A0: 00000000 62006300 00000000 7A000000  |....b.c.....z...|
; CHECK-NEXT:   00B0: 01005300 74007200 69006E00 67004600  |..S.t.r.i.n.g.F.|
; CHECK-NEXT:   00C0: 69006C00 65004900 6E006600 6F000000  |i.l.e.I.n.f.o...|
; CHECK-NEXT:   00D0: 2A000000 01003000 34003000 39003000  |*.....0.4.0.9.0.|
; CHECK-NEXT:   00E0: 34004500 34000000 12000300 01006100  |4.E.4.........a.|
; CHECK-NEXT:   00F0: 00000000 62006300 00000000 2A000000  |....b.c.....*...|
; CHECK-NEXT:   0100: 01003000 34003000 39003000 34004500  |..0.4.0.9.0.4.E.|
; CHECK-NEXT:   0110: 35000000 12000300 01006100 00000000  |5.........a.....|
; CHECK-NEXT:   0120: 62006300 0000                        |b.c...|
; CHECK-NEXT: )
